import http from '../../../shared/utils/http/index'
import type { ApiResponse } from '../../../shared/utils/http/types'
import type { ThemeSettingsResult } from '../../../shared/types'

export enum Apis {
  /**
   * @description 获取主题色
   */
  GetThemeConfig = '/kukemarketing/wap/pageMaster/getStyleSettingDetails'
}

/*
 * 获取支付信息
 * */
export const getThemeSettings = (data: any) => {
  return http.request<ApiResponse<ThemeSettingsResult>>('post', Apis.GetThemeConfig, {
    data
  })
}
